package kr.hkit.powerjava.s;

class Circle {
	private int r;
	private int cx;
	private int cy;

	public int getR() {
		return r;
	}

	public void setR(int r) {
		this.r = r;
	}

	public int getCx() {
		return cx;
	}

	public void setCx(int cx) {
		this.cx = cx;
	}

	public int getCy() {
		return cy;
	}

	public void setCy(int cy) {
		this.cy = cy;
	}

	double area(){
		System.out.println(r*r*3.14);
		
		return r*r*3.14;
				
	}
	
}

public class CircleTest {
	public static void main(String[] args) {
		Circle c = new Circle();
		
		c.setCx(5);
		c.setCy(6);
		c.setR(4);
		c.area();
		
	}
}
